﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>div layout</title>
    <style type="text/css">
        div#container {
            width: 400px;
            height: 400px;
            border: 1px solid #deddd9
        }
        div#header{
            padding: 10px auto;
        }
    </style>
</head>
<body>

<div id="container" style="">
    <!--上-->
        <div id="header">
        <h4>主要的网页标题</h4>
    </div>
</div>

</body>
</html>